/*
 * IkaButton.h
 */

#ifndef IKABUTTON_H_
#define IKABUTTON_H_

#include "atomic/IkaCore.h"
#include "IkaSprite.h"

namespace data {

class IkaButton: public atomic::IkaCore {
public:
	IkaButton();
	virtual ~IkaButton();
	IkaButton(const data::IkaButton &copy);
	IkaButton(float x, float y, atomic::IkaAnim image, void(*Callback)(int) );
	void Update();
	void SwitchOff();
	void SwitchOn();
	void OnClick(void(*Callback)(int));
private:
	bool isOn;
	void(*Callback)(int);
};

}

#endif /* IKABUTTON_H_ */
